package cn.qingyun.gis.modules.building.entity;

import cn.qingyun.gis.common.Pager;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "k12学校勘误查询请求对象", description = "k12学校勘误查询请求对象")
public class BuildingProofreadQueryRequest extends Pager {

    @ApiModelProperty(value = "勘误工号")
    private String kwPhone;

    @NotNull(message = "区域权限不能为空")
    @ApiModelProperty(value = "区域权限")
    private String gridType;

    @NotNull(message = "网格编码不能为空")
    @ApiModelProperty(value = "网格编码")
    private String gridId;

    @ApiModelProperty(value = "关键字")
    private String keyword;

    @ApiModelProperty(value = "经度")
    private BigDecimal lon;

    @ApiModelProperty(value = "纬度")
    private BigDecimal lat;

    @ApiModelProperty(value = "高德ID")
    private String gaodeId;
}
